<!DOCTYPE html>
<html lang="en">
{include file="public/head" /}
  <body class="nav-md">
  <div class="modal fade bs-edit-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel">
      <div class="modal-dialog modal-sm" role="document">
          <div class="modal-content">

              <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                  <h4 class="modal-title" id="mySmallModalLabel">修改提成比例</h4>
              </div>
              <div class="modal-body">
                  <div class="input-group">
                      <input type="number" required="required" data-id="" placeholder="请输入比例如50" class="form-control col-md-4 col-xs-6 value">
                      <span class="input-group-btn">
                            <button type="button" class="btn btn-success edit-value-confirm">确定</button>
                      </span>
                  </div>
              </div>
          </div>
      </div>
  </div>
    <div class="container body">
      <div class="main_container">
        <!-- menu -->
        {include file="public/menu" /}
        <!-- menu -->
        <!-- top navigation -->
        {include file="public/top" /}
        <!-- /top navigation -->

        <!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
              <div class="title_left">
                <h3>系统配置</h3>
              </div>
            </div>
            <div class="clearfix"></div>
            <div class="row">
              <div class="col-md-12 col-sm-12 col-xs-12">
                <!--content-->
                <div class="x_panel">
                  <div class="x_title">
                    <h2>工资提成 <small>salary</small></h2>
                    <ul class="nav navbar-right panel_toolbox">

                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content table-responsive">
                    <br>
                    <table class="table table-hover">
                        <thead>
                            <tr>
                                <th>配置标记</th>
                                <th>配置名称</th>
                                <th>value值</th>
                                <th>状态</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                        {volist name="salary" id="vo"}
                            <tr>
                                <td>{$vo.name}</td>
                                <td>{$vo.title}</td>
                                <td>{$vo.value}</td>
                                <td>{$vo.status}</td>
                                <td>
                                    <button type="button" class="btn btn-danger" data-id="{$vo.id}" data-toggle="modal" data-target=".bs-edit-modal-sm">修改数值</button>
                                </td>
                            </tr>
                        {/volist}
                        </tbody>
                    </table>

                  </div>
                </div>
                <!--content-->
              </div>
            </div>
          </div>
        </div>
        <!-- /page content -->
        <!-- footer content -->
        {include file="public/footer" /}
        <!-- /footer content -->
      </div>
    </div>
    <!-- script -->
    <!-- jQuery -->
    <script src="__ADMIN__/vendors/jquery/dist/jquery.min.js"></script>
    <!-- Bootstrap -->
    <script src="__ADMIN__/vendors/bootstrap/dist/js/bootstrap.min.js"></script>
    <!-- FastClick -->
    <script src="__ADMIN__/vendors/fastclick/lib/fastclick.js"></script>
    <!-- NProgress -->
    <script src="__ADMIN__/vendors/nprogress/nprogress.js"></script>
    <!-- Custom Theme Scripts -->
    <script src="__ADMIN__/build/js/custom.min.js"></script>
    <script src="__ADMIN__/vendors/layer/layer.min.js"></script>
    <!-- script -->
    <script src="__ADMIN__/build/js/app.js"></script>
    <script src="__ADMIN__/build/js/custom.js"></script>
  </body>
<script>
    var edit_salary_url = "{:url('admin/System/salary')}";
</script>
</html>
